﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Look_Through_Windows.Logic
{
    /// <summary>
    /// Configuration
    /// </summary>
    public class Config
    {
        /// <summary>
        /// Listening port (simultaneously, the default port)
        /// </summary>
        public int ListeningPort { get; set; }

        /// <summary>
        /// Locations where connection data is auto-saved
        /// </summary>
        public string[] ConnectionDataWriteLocations { get; set; }

        /// <summary>
        /// Locations where connection data is used to auto-connect to
        /// </summary>
        public string[] ConnectionDataAutoConnectLocations { get; set; }

        public Config( )
        {
            ListeningPort = 13338;

            ConnectionDataWriteLocations = new string[] { };
            ConnectionDataAutoConnectLocations = new string[] { "autoconnect.txt" };
        }
    }
}
